package com.zhongshengnetwork.rightbe.my.activity;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.zhongshengnetwork.rightbe.R;
import com.zhongshengnetwork.rightbe.common.TopBarView;
import com.zhongshengnetwork.rightbe.common.activity.AppBaseActivity;

public class DeclareActivity extends AppBaseActivity implements TopBarView.onTitleBarClickListener{
    private TextView declare_text;
    private TopBarView topbar;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_declare);
        topbar = (TopBarView)findViewById(R.id.topbar);
        topbar.getRightView().setVisibility(View.GONE);
        topbar.setClickListener(this);
        declare_text = (TextView) findViewById(R.id.declare_text);
        /*
        String text = "1.积分说明如下：\n   (1)体验区中奖获得积分奖励；\n   (2)成语猜猜、成语消消及智多多答题达到特定数量获得积分奖励；\n   (3)积分用于积分商城抽奖或者兑换商品。\n\n";
        text += "2.经验说明如下：\n   (1)新用户注册成功获得经验奖励；\n   (2)用户每天签到获得经验奖励；\n   (3)经验用于体验区虚拟商品抽奖。\n\n";
        text += "3.金币说明如下：\n   (1)用户每天签到领取金币；\n   (2)用户成语猜猜、成语消消及智多多答题正确获得金币奖励；\n   (3)成语猜猜、成语消消及智多多中获取提示将扣除金币。\n\n";
        */
        String text = "金币说明如下：\n   (1)用户每天签到领取金币；\n   (2)用户成语猜猜、成语消消、成语接龙及智多多答题正确获得金币奖励；\n   (3)成语猜猜、成语消消、成语接龙及智多多中获取提示将扣除金币。\n\n";
        declare_text.setText(text);
    }

    /**
     * 点击了返回导航按钮
     */
    @Override
    public void onBackClick() {
        //Toast.makeText(LoginActivity.this, "你点击了左侧按钮", Toast.LENGTH_LONG).show();
        finish();
    }

    /**
     * 点击了右边导航按钮
     */
    @Override
    public void onRightClick() {

    }

}
